<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/jsps/common/taglibs.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
   
    <title>FUNDSYS 系统登陆</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
	<meta name="viewport" content="width=device-width, initial-scale=1.0"> 
	<meta name="author" content="Codrops" />
	<link rel="shortcut icon" href="../favicon.ico"> 
    <link rel="stylesheet" type="text/css" href='<c:url value="/css/style.css"/>'/>
	<script src="<c:url value="/js/modernizr.custom.63321.js"/>"></script>
	
	<link rel="stylesheet" type="text/css" href='<c:url value="/css/application.css"/>'>
	<link rel="stylesheet" type="text/css" href='<c:url value="/css/list.css"/>'>
	<link rel="stylesheet" type="text/css" href='<c:url value="/css/form.css"/>'>
	<script type="text/javascript" src="<c:url value="/js/common.js"/>"></script>
    
    <style>
	      .error{
	        border:1px solid black;
	        color:red;
	        width:200px;
	        padding:8px;
	        margin:10px;
	      }  
      
		body {
			background: #7f9b4e url(pics/1.jpg) no-repeat center top;
			-webkit-background-size: cover;
			-moz-background-size: cover;
			background-size: cover;
		}
		.container > header h1,
		.container > header h2 {
			color: #fff;
			text-shadow: 0 1px 1px rgba(0,0,0,0.7);
		}
      
    </style>
    
    <script type="text/javascript">
    	function validateFrm(){
    		with(document.forms[0]){
	    		if(oper_no.value == ''){
	    			alert("用户编号必须填写");
	    			oper_no.focus();
	    			return false;
	    		}
	    		
	    		if(oper_pwd.value == ''){
    				alert("用户密码必须填写");
    				oper_pwd.focus();
    				return false;
    			}
    		}
    		return true;
    	}
    
    </script>
    
  </head>
  
  <body>
   <div class="container" >
			<br/><br/>
			<header>
				<h1>建设银行开放基金管理平台</h1>
			</header>
			<br/>
			<section class="main">
				<form class="form-4" action="<c:url value="/securityMgr?act=login"/>" method="post" onSubmit = "return validateFrm();">
				    <h1 align="center">系统登录</h1>
				    <p>
				        <label for="login">用户编号:</label>
				         <input type="text" name="oper_no" placeholder="Username" required/>
				    </p>
					<p>
				        <label for="password">登录密码:</label>
				        <input type="password" name="oper_pwd"  placeholder="Password" required/>    
				    </p>
				    <p>
				        <input type="submit" name="submit" value="登 录">
				    </p> 
				</form> 
			</section>
	</div>
	
		<center>
				<br/><br/><br/><br/><br/><br/><br/>
				<p>建设银行开放基金管理平台（版本:Beta1.0   Build:#1 2012-12-29)    团队： 白翔 胡广宇 吴必君</p>
				<p>(C) 福建师范大学软件学院2010级   </p>
		</center>
    </body>
    
     <c:if test="${not empty err}">
		<script type="text/javascript">
			alert('${err}');
		</script>
	</c:if>
</html>
